﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="LookupDS" targetNamespace="http://tempuri.org/LookupDS.xsd" xmlns:mstns="http://tempuri.org/LookupDS.xsd" xmlns="http://tempuri.org/LookupDS.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="UcConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Public" Name="UcConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.UCENTRIK.Properties.Settings.GlobalReference.Default.UcConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserRoleDSTableAdapter" GeneratorDataComponentClassName="UserRoleDSTableAdapter" Name="UserRoleDS" UserDataComponentName="UserRoleDSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="UcConnectionString (Settings)" DbObjectName="UC_WEB.dbo.usplu_get_user_roles" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.usplu_get_user_roles</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="user_role_id" DataSetColumn="user_role_id" />
              <Mapping SourceColumn="user_role_name" DataSetColumn="user_role_name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="IncidentStatusDSTableAdapter" GeneratorDataComponentClassName="IncidentStatusDSTableAdapter" Name="IncidentStatusDS" UserDataComponentName="IncidentStatusDSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="UcConnectionString (Settings)" DbObjectName="UC_WEB.dbo.usplu_get_incident_statuses" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.usplu_get_incident_statuses</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="incident_status_id" DataSetColumn="incident_status_id" />
              <Mapping SourceColumn="incident_status_name" DataSetColumn="incident_status_name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuestionTypesDSTableAdapter" GeneratorDataComponentClassName="QuestionTypesDSTableAdapter" Name="QuestionTypesDS" UserDataComponentName="QuestionTypesDSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="UcConnectionString (Settings)" DbObjectName="UC_WEB.dbo.usplu_get_question_types" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.usplu_get_question_types</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="question_type_id" DataSetColumn="question_type_id" />
              <Mapping SourceColumn="question_type_name" DataSetColumn="question_type_name" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="LookupDS" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="LookupDS" msprop:Generator_DataSetName="LookupDS" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="UserRoleDS" msprop:Generator_UserTableName="UserRoleDS" msprop:Generator_RowDeletedName="UserRoleDSRowDeleted" msprop:Generator_RowChangedName="UserRoleDSRowChanged" msprop:Generator_RowClassName="UserRoleDSRow" msprop:Generator_RowChangingName="UserRoleDSRowChanging" msprop:Generator_RowEvArgName="UserRoleDSRowChangeEvent" msprop:Generator_RowEvHandlerName="UserRoleDSRowChangeEventHandler" msprop:Generator_TableClassName="UserRoleDSDataTable" msprop:Generator_TableVarName="tableUserRoleDS" msprop:Generator_RowDeletingName="UserRoleDSRowDeleting" msprop:Generator_TablePropName="UserRoleDS">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="user_role_id" msprop:Generator_UserColumnName="user_role_id" msprop:Generator_ColumnVarNameInTable="columnuser_role_id" msprop:Generator_ColumnPropNameInRow="user_role_id" msprop:Generator_ColumnPropNameInTable="user_role_idColumn" type="xs:int" />
              <xs:element name="user_role_name" msprop:Generator_UserColumnName="user_role_name" msprop:Generator_ColumnVarNameInTable="columnuser_role_name" msprop:Generator_ColumnPropNameInRow="user_role_name" msprop:Generator_ColumnPropNameInTable="user_role_nameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="IncidentStatusDS" msprop:Generator_UserTableName="IncidentStatusDS" msprop:Generator_RowDeletedName="IncidentStatusDSRowDeleted" msprop:Generator_RowChangedName="IncidentStatusDSRowChanged" msprop:Generator_RowClassName="IncidentStatusDSRow" msprop:Generator_RowChangingName="IncidentStatusDSRowChanging" msprop:Generator_RowEvArgName="IncidentStatusDSRowChangeEvent" msprop:Generator_RowEvHandlerName="IncidentStatusDSRowChangeEventHandler" msprop:Generator_TableClassName="IncidentStatusDSDataTable" msprop:Generator_TableVarName="tableIncidentStatusDS" msprop:Generator_RowDeletingName="IncidentStatusDSRowDeleting" msprop:Generator_TablePropName="IncidentStatusDS">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="incident_status_id" msprop:Generator_UserColumnName="incident_status_id" msprop:Generator_ColumnVarNameInTable="columnincident_status_id" msprop:Generator_ColumnPropNameInRow="incident_status_id" msprop:Generator_ColumnPropNameInTable="incident_status_idColumn" type="xs:int" />
              <xs:element name="incident_status_name" msprop:Generator_UserColumnName="incident_status_name" msprop:Generator_ColumnVarNameInTable="columnincident_status_name" msprop:Generator_ColumnPropNameInRow="incident_status_name" msprop:Generator_ColumnPropNameInTable="incident_status_nameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="QuestionTypesDS" msprop:Generator_UserTableName="QuestionTypesDS" msprop:Generator_RowDeletedName="QuestionTypesDSRowDeleted" msprop:Generator_RowChangedName="QuestionTypesDSRowChanged" msprop:Generator_RowClassName="QuestionTypesDSRow" msprop:Generator_RowChangingName="QuestionTypesDSRowChanging" msprop:Generator_RowEvArgName="QuestionTypesDSRowChangeEvent" msprop:Generator_RowEvHandlerName="QuestionTypesDSRowChangeEventHandler" msprop:Generator_TableClassName="QuestionTypesDSDataTable" msprop:Generator_TableVarName="tableQuestionTypesDS" msprop:Generator_RowDeletingName="QuestionTypesDSRowDeleting" msprop:Generator_TablePropName="QuestionTypesDS">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="question_type_id" msprop:Generator_UserColumnName="question_type_id" msprop:Generator_ColumnPropNameInRow="question_type_id" msprop:Generator_ColumnVarNameInTable="columnquestion_type_id" msprop:Generator_ColumnPropNameInTable="question_type_idColumn" type="xs:int" />
              <xs:element name="question_type_name" msprop:Generator_UserColumnName="question_type_name" msprop:Generator_ColumnPropNameInRow="question_type_name" msprop:Generator_ColumnVarNameInTable="columnquestion_type_name" msprop:Generator_ColumnPropNameInTable="question_type_nameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UserRoleDS" />
      <xs:field xpath="mstns:user_role_id" />
    </xs:unique>
    <xs:unique name="IncidentStatusDS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:IncidentStatusDS" />
      <xs:field xpath="mstns:incident_status_id" />
    </xs:unique>
    <xs:unique name="QuestionTypesDS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:QuestionTypesDS" />
      <xs:field xpath="mstns:question_type_id" />
    </xs:unique>
  </xs:element>
</xs:schema>